#include "PeopleBaseData.h"

int PeopleBaseData::getBirthYear()
{
	return m_nYear;
}

void PeopleBaseData::setBirthYear(int nYear)
{
	m_nYear = nYear;
}

int PeopleBaseData::getBirthMonth()
{
	return m_nMonth;
}

void PeopleBaseData::setBirthMonth(int nMonth)
{
	m_nMonth = nMonth;
}

int PeopleBaseData::getBirthDay()
{
	return m_nDay;
}

void PeopleBaseData::setBirthDay(int nDay)
{
	m_nDay = nDay;
}

void PeopleBaseData::setSex(bool b)
{
	m_bSex = b;
}

bool PeopleBaseData::getSex()
{
	return m_bSex;
}

std::string PeopleBaseData::getName()
{
	return m_strName;
}

void PeopleBaseData::setName(const std::string& strName)
{
	m_strName = strName;
}

int PeopleBaseData::getAge()
{
	return m_nAge;
}

void PeopleBaseData::setAge(int nAge)
{
	m_nAge =  nAge;
}
